/** 2018/12/22
 *作者:Cookie
 *功能: 全局路由拦截器
 */

const beforeEach = (to, from, next) => {
  console.warn(to, from, next);
  next();
};

const afterEach = (to, from) => {
  console.warn(to, from);
};

export {
  beforeEach,
  afterEach
};
